package com.homework.school;

/**
 * @author xiyu
 * @version 1.0
 * @date 2025/3/26 19:10
 * @description
 */
public class StuTest {
    public static void main(String[] args) {
        Undergraduate u = new Undergraduate("王军", 23, "本科", "工业自动化");

        Graduate g = new Graduate("刘君", 27, "硕士", "网络技术");

        u.getInfo();
        g.getInfo();
    }
}
